package com.estate.common.core.domain.model.agent;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 员工信息响应体
 * 对应API返回的JSON数据结构
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(ignoreUnknown = true)
public class AgentResp {

    @JsonProperty("id")
    private Integer id;

    @JsonProperty("firstname")
    private String firstname;

    @JsonProperty("lastname")
    private String lastname;

    @JsonProperty("name")
    private String name;

    @JsonProperty("email")
    private String email;

    @JsonProperty("mobile")
    private String mobile;

    @JsonProperty("phone")
    private String phone;

    @JsonProperty("position")
    private String position;

    @JsonProperty("role")
    private String role;

    @JsonProperty("profile")
    private String profile;

    @JsonProperty("achievements")
    private String achievements;

    @JsonProperty("status")
    private String status;

    @JsonProperty("is_hidden")
    private Boolean isHidden;

    @JsonProperty("sequence")
    private Integer sequence;

    @JsonProperty("image_url")
    private String imageUrl;

    @JsonProperty("image_url_original")
    private String imageUrlOriginal;

    @JsonProperty("image_large_url")
    private String imageLargeUrl;

    @JsonProperty("image_large_url_original")
    private String imageLargeUrlOriginal;

    @JsonProperty("video")
    private String video;

    @JsonProperty("offices")
    private List<Office> offices;

    @JsonProperty("social_links")
    private SocialLinks socialLinks;

    @JsonProperty("specialty_suburbs")
    private List<String> specialtySuburbs;

}